package com.info.provider.repository;

import com.info.provider.entity.UserInfo;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by pengshuo on 2018/1/31 16:23
 * Description:
 * Modified By:
 * Version:
 *
 * @author pengshuo
 */
public interface UserInfoRepository extends MongoRepository<UserInfo,String>{

    /**
     * find by openId
     * @param openId
     * @return
     */
    UserInfo findByOpenId(String openId);

}
